<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:p="http://primefaces.prime.com.tr/ui"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html">

    <p:dialog height="100" width="50" widgetVar="dialogAjax" showEffect="#{i18n['portal.efeitoModal']}" hideEffect="#{i18n['portal.efeitoModal']}" closable="false" modal="true" >
        <div align="center">
            <h:graphicImage library="images" name="ajaxLoading.gif" styleClass="bordaZero"/>
        </div>
    </p:dialog>

    <p:ajaxStatus  oncomplete="dialogAjax.hide();" onstart="dialogAjax.show();">
        <f:facet name="start">
        </f:facet>
        <f:facet name="complete">
            <h:outputText value="" />
        </f:facet>
    </p:ajaxStatus>
</html>
